package com.flw.eslab.dao;

import java.util.List;

import com.flw.eslab.model.Group;
import com.flw.eslab.model.Role;
import com.flw.eslab.model.User;


public interface UserDao extends CommonDao<User> {
	public List<User> checkAndReturnUser(String studentNO,String password);
	public List<User> checkAndReturnUser(String studentNO);
	public List<User> findByName(String name);
	public List<User> findByGroup(Group group);
	public List<User> findByRole(Role role);
}
